@charset "utf-8";
/* CSS Document */

.form-wrapper {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding-top: 2rem;
    padding-right: 5%;
    padding-left: 5%;
    padding-bottom: 5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 12px;
    width: 100%;
    }
/*
    h1 {
      color: #1976CC;
      text-align: center;
      margin-bottom: 24px;
    }
*/
    .form-group {
      margin-bottom: 20px;
    }
    label {
      display: block;
      font-weight: bold;
      margin-bottom: 8px;
    }
    main input[type="text"],
    main input[type="email"],
    main textarea,
    main select {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 16px;
    }
    .half-input {
      display: flex;
      gap: 10px;
    }
    .half-input input {
      flex: 1;
    }
    main textarea {
      height: 100px;
      resize: vertical;
    }
    .submit-btn {
      display: block;
      background-color: #1976CC;
      color: white;
      font-size: 18px;
      padding: 12px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      width: 100%;
      margin-top: 10px;
    }
    .submit-btn:hover {
      background-color: #125fa3;
    }
    .note {
      color: red;
      font-size: 0.9em;
    }

main input[type="text"],
main input[type="email"],
main textarea,
main select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

/* アクティブ時（カーソルが入ったとき） */
main input[type="text"]:focus,
main input[type="email"]:focus,
main textarea:focus,
main select:focus,
/* ホバー時（マウスオーバー） */
main input[type="text"]:hover,
main input[type="email"]:hover,
main textarea:hover,
main select:hover {
  outline: none;
  border: 1px solid #1976CC;
  background-color: #f0f8ff; /* 薄いブルーで背景も強調（任意） */
  box-shadow: 0 0 0 2px rgba(25, 118, 204, 0.3);
}




.midashi{
    font-size: 2.5rem;
    background-color: #FFFFFF;
    color: var(--main_color);
    padding: 0;
    margin: 0;
    font-weight: bold;
    text-align: center;
}
.midashi span{
    font-variant: normal;
    font-weight: normal;
    font-size: 1.1rem;
    line-height: 0.9;
	color: #666;
}

.txt_box1{
    width: 100%;
    height: auto;
    margin-top: 10px;
    padding-top: 1rem;
    border-top: 1px solid #CCCCCC;
    border-radius: 4px;
    margin-bottom: 5rem;
}


.contact-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  margin: 20px auto;
  font-size: 16px;
}

.contact-table th,
.contact-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #DFDFDF;
    text-align: center;
    vertical-align: top;
    white-space: nowrap;
}

.contact-table th {
    font-weight: bold;
    text-align: center;
    background-color: #ECECEC;
}

@media screen and (max-width: 600px) {
  .contact-table, .contact-table tbody, .contact-table tr, .contact-table td, .contact-table th {
    display: block;
    width: 100%;
  }
  .contact-table tr {
    margin-bottom: 1rem;
  }
  .contact-table th {
    background: none;
    font-weight: bold;
    padding-top: 1rem;
    text-align: center;
    display: none;
  }
}
